import React from 'react';

const FunctionButtons = ({ 
  onCopyLink, 
  onOpenReport, 
  onOpenCopyModal, 
  onShowPoster 
}) => {
  return (
    <div className="share-buttons">
      <div onClick={onCopyLink} className="share-btn">
        <img src="/icons/copy.png" alt="复制链接" className="share-icon" />
        <span>复制链接</span>
      </div>
      <div onClick={onOpenReport} className="share-btn">
        <img src="/icons/data.png" alt="数据报表" className="share-icon" />
        <span>数据报表</span>
      </div>
      <div onClick={onOpenCopyModal} className="share-btn">
        <img src="/icons/promotional.png" alt="推广文案" className="share-icon" />
        <span>推广文案</span>
      </div>
      <div onClick={onShowPoster} className="share-btn">
        <img src="/icons/QRcode.png" alt="推广海报" className="share-icon" />
        <span>推广海报</span>
      </div>
    </div>
  );
};

export default FunctionButtons;
